package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * 
*    
* 项目名称：ArtworkArt   
* 类名称：AuctionArtistListParser   
* 类描述：拍卖行艺术家列表实体类+解析   
* 创建人：耿卫斌   
* 创建时间：2017-3-10 下午2:24:13   
*
 */
public class AuctionArtistListParser extends AppItem implements Serializable {
	private static final long serialVersionUID = 1L;
	private String artist_id;//艺术家id
	private String realname;//艺术家姓名
	private String imgurl;//艺术家头像
	@Override
	public void parse(JSONObject obj) {
		// TODO Auto-generated method stub
		if (null == obj) {
			return;
		}
		artist_id = obj.optString("artist_id");
		realname = obj.optString("realname");
		imgurl = obj.optString("imgurl");
	}
	public String getArtist_id() {
		return artist_id;
	}
	public void setArtist_id(String artist_id) {
		this.artist_id = artist_id;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	public AuctionArtistListParser() {
		super();
	}
	public AuctionArtistListParser(String artist_id, String realname,
								   String imgurl) {
		super();
		this.artist_id = artist_id;
		this.realname = realname;
		this.imgurl = imgurl;
	}
	@Override
	public String toString() {
		return "AuctionArtistListParser [artist_id=" + artist_id
				+ ", realname=" + realname + ", imgurl=" + imgurl + "]";
	}
}
